<!--
导航栏样式

-->

.header-bar {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    clear: both;
}


.horizontal {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clear: both;
    background-color: #333333;
}

li::marker {
    content: "";
}

.horizontal li {
    float: left;
    margin: 0;
    background-color: #333;
}

.horizontal li button {
    background-color: #333333;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border: 0;
}

.horizontal li button:hover:not(.active) {
    background-color: #000;
}

li.search-by-type {
    display: inline-block;
}


.search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 500px;
    height: 43px;
    border: 2px solid #333;
    /*padding: 0 0 0 5%;*/
}

.search-box .input {
    float: left;
    width: 400px; /*宽400*/
    height: 41px; /*高38（因为文本框内外边框要占用1像素所以总体高度减2，其他盒子同理）*/
    outline: none;
    border-radius: 10px;
    font-size: 15px;
}

.search-box .button {
    clear: both;
    width: 102px;
    background-color: #333333;
    /*float: right;*/
    color: white;
    text-align: center;
    padding: 14px 16px;
    /*height: 38px;*/
    text-decoration: none;
    border: none;
}

.search-box .button:hover {
    background-color: #000;
}


.movieYear {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: auto;
    height: 800px;
}

.movieType,
.userManage {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.movieType a,
.movieYear a,
.userManage a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.movieType a:hover,
.movieYear a:hover,
.userManage a:hover {
    background-color: #f1f1f1;
}

.search-by-type:hover .movieType,
.search-by-year:hover .movieYear,
.user:hover .userManage {
    display: block;
}
